From: Carlos Garnacho Date: Tue, 24 May 2022 20:22:05 +0000 (+0200) Subject: keyboard: Set up OSK edge drag gesture on capture phase X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~461^2^2~334 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9a0935305d76e7e7c5c9d659b71609d873cfecbb;p=gnome-shell.git keyboard: Set up OSK edge drag gesture on capture phase This makes the gesture able to get the events that would otherwise be meant for the background actor or client window. Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5335 Part-of: --- diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index 570d39ccb..499bc28a9 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -1203,7 +1203,7 @@ var KeyboardManager = class KeyBoardManager { if (this._keyboard) this._keyboard.gestureCancel(); }); - global.stage.add_action(bottomDragAction); + global.stage.add_action_full('osk', Clutter.EventPhase.CAPTURE, bottomDragAction); this._bottomDragAction = bottomDragAction; this._syncEnabled();